package com.enseirb.bdxmap.service;

import java.util.List;

import android.content.Context;

import com.enseirb.bdxmap.converter.UserMarkerConverter;
import com.enseirb.bdxmap.service.model.UserMarkerBO;

public class UserMarkerService implements MarkerService {

	private UserMarkerConverter userMarkerConverter;
	
	public UserMarkerService(Context context) {
		this.userMarkerConverter = new UserMarkerConverter(context);
	}

	@Override
	public List<UserMarkerBO> getData() {
		return userMarkerConverter.getData();
	}
	
	public void addMarker(UserMarkerBO marker) {
		userMarkerConverter.addMarker(marker);
	}
}
